package com.dhcy.mqtt.result.ht;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.beans.Transient;
import java.util.Date;

@Data
@ApiModel
public class OnlineDataResult {

    private Integer id;


    @ApiModelProperty("设备编号")
    private String deviceNumber;

    private String co;

    private String h2s;

    private String ch4;

    private String o2;

    private String humidity;

    private String handle;

    @ApiModelProperty("温度")
    private String temperature;

    @ApiModelProperty("压力值")
    private Double pressureValue;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


    private String equipmentHandle;
}
